package eMdP.inputHandler.accions.EMdPHandler;

import com.jme.input.action.InputActionEvent;
import com.jme.input.action.KeyInputAction;

import eMdP.gestors.GestorPantalla;

public class PausarEMdPAction  extends KeyInputAction
{
	 public PausarEMdPAction()
	 {
		 
	 }
	 
	 public void performAction (InputActionEvent event) {
		 System.out.println("Hauriem d'entrar a pausa2222");
		 if(GestorPantalla.esActivaPartida())
		 {
			 GestorPantalla.pausarPartida(); 
			System.out.println("Hauriem d'entrar a pausa");
		 }
	 }

}
